/*
 * Copyright (C) 2019 Baidu, Inc. All Rights Reserved.
 */
package com.bootdo.hjh.service;

import com.bootdo.hjh.domain.StockDO;
import com.bootdo.hjh.domain.TihuoOrderDO;

import java.util.List;
import java.util.Map;

/**
 * 提货申请单
 *
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-04-13 16:13:13
 */
public interface TihuoOrderService {

	TihuoOrderDO get(Long id);

	List<TihuoOrderDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(TihuoOrderDO tihuoOrder);

	int update(TihuoOrderDO tihuoOrder);

	int remove(Long id);

	int batchRemove(Long[] ids);

	List<TihuoOrderDO> listTihuoOrders(Long userId, Integer productId, Integer offset, Integer limit);

	int countTihuoOrder(Long userId, Integer productId);

	int updateFahuo(Integer id, Integer shippingStatus, Integer shippingChannel, String shippingSn);
}
